<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>TinyButStrong</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="tbs_us_examples_0styles.css" rel="stylesheet" type="text/css">
</head>
<body>
<p align="center" class="title-page">Example of <span class="text-prm">frm</span> parameter use</p>
<table width="500" border="0" align="center" cellpadding="2" cellspacing="0">
  <tr>
    <td><p>The<span class="text-prm"> frm</span> parameter enables you to display a date-time value or numeric value using a format string.</p></td>
  </tr>
</table>
<p align="center">&nbsp; </p>
<table width="500" border="0" align="center" cellpadding="2" cellspacing="0">
  <tr>
    <td colspan="2"><span class="title-section2">Examples of date formats<br>
      </span><span class="text-section2"><br>
      Using the current date time</span></td>
  </tr>
  <tr class="back-special2">
    <td><u>Format</u></td>
    <td><u>Display</u></td>
  </tr>
  <tr class="back-special2">
    <td width="226">yyyy-mm-dd</td>
    <td width="274">[var..now;frm='yyyy-mm-dd']</td>
  </tr>
  <tr class="back-special2">
    <td>dd/mm/yyyy</td>
    <td>[var..now;frm='dd/mm/yyyy']</td>
  </tr>
  <tr class="back-special2">
    <td>hh:nn:ss</td>
    <td>[var..now;frm='hh:nn:ss']</td>
  </tr>
  <tr class="back-special2">
    <td>dddd dd mmmm</td>
    <td>[var..now;frm='dddd dd mmmm']</td>
  </tr>
  <tr class="back-special2">
    <td>ddd dd mmm</td>
    <td>[var..now;frm='ddd dd mmm']</td>
  </tr>
  <tr class="back-special2">
    <td>mm-dd-yyyy hh:nn</td>
    <td>[var..now;frm='mm-dd-yyyy hh:nn']</td>
  </tr>
  <tr>
    <td colspan="2"><span class="title-section2"><br>
      Examples of numeric formats<br>
      </span><span class="text-section2"><br>
      Using the Php variable $amount = 1023.2568</span></td>
  </tr>
  <tr class="back-special2">
    <td><u>Format</u></td>
    <td><u>Display</u></td>
  </tr>
  <tr class="back-special2">
    <td>$ 0 000.00</td>
    <td>[var.amount;frm='$ 0 000.00']</td>
  </tr>
  <tr class="back-special2">
    <td>$ 0 000. <em><font color="#996600">(1)</font></em></td>
    <td>[var.amount;frm='$ 0 000.']</td>
  </tr>
  <tr class="text-mini">
    <td colspan="2"><em><font color="#996600">(1)</font> The dot (.) at the bottom means there is no decimal.</em></td>
  </tr>
  <tr class="text-section2">
    <td colspan="2"><br>
      <span class="text-section2">Using the Php variable $rate = 0.751897</span></td>
  </tr>
  <tr class="back-special2">
    <td>0.000 %</td>
    <td>[var.rate;frm='0.000 %']</td>
  </tr>
  <tr>
    <td colspan="2"><br>
      <span class="title-section2">Example of conditional format<br>
      </span><span class="text-section2"><br>
      Using the Php variable $amount2 = -255.4893</span> </td>
  </tr>
  <tr class="back-special2">
    <td><u>Format</u></td>
    <td><u>Display</u></td>
  </tr>
  <tr class="back-special2">
    <td>+0 000.00|<font color="#FF0000">-0 000.00</font>|0|-</td>
    <td>[var.amount2;frm='+0 000.00|<font color="#FF0000">-0 000.00</font>|0|-']</td>
  </tr>
</table>
</body>
</html>
